package com.ctshk.common.req;

import java.io.Serializable;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel("数据树字典dto")
public class MainTreeData implements Serializable {
	private static final long serialVersionUID = 1L;

	@ApiModelProperty(value = "id")
    private Long id;

    @ApiModelProperty(value = "编码")
    private String code;

    @ApiModelProperty(value = "名称")
    private String name;

    @ApiModelProperty(value = "上一级id")
    private Long parentId;

    @ApiModelProperty(value = "上一级编码")
    private String parentCode;

    @ApiModelProperty(value = "上一级名称")
    private String parentName;
}
